//	全局变量
package global

import (
	ut "github.com/go-playground/universal-translator"
	"github.com/spf13/viper"
	"go.uber.org/zap"
	"gorm.io/gorm"
	"mycms/config"
	"github.com/go-redis/redis/v8"
)

var (
	CONFIG config.Server
	DB     *gorm.DB
	DBList map[string]*gorm.DB

	VIPER     *viper.Viper
	LOG       *zap.Logger
    Trans  ut.Translator
	REDIS  *redis.Client
)
